import { request } from '@/utils/request';

export const getDetails = (id: string) => {
  return request({
    url: `/admin/sysMenuDoc/details/${id}`,
    method: 'GET',
  });
};

export const getNewUserMenuDoc = (data) => {
  return request({
    url: `/admin/menu/getNewUserMenuDoc`,
    method: 'GET',
    data,
  });
};
